<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>page对象</title>
</head>
<body>

<%
//获取当前object的类
String className=page.getClass().toString();

//获取该object的哈希码
int hashcode =page.hashCode();

//比较page对象与指定this对象是否相等
boolean judge=page.equals(this);


%>

<%=className %>
<%=hashcode %>
<%=judge %>

</body>
</html>